import pandas as pd
from sqlalchemy import create_engine
engine = create_engine('mysql+pymysql://amy:mike&amy@39.98.191.242:3306/playground')
sql = 'select * from Persons;'
df = pd.read_sql_query(sql,engine)
print(df)